//
//  Diapatchable.h
//  AifudaoDrawer
//
//  Created by Ji Hu on 12-5-16.
//  Copyright (c) 2012年 爱辅导. All rights reserved.
//

#import <Foundation/Foundation.h>

@protocol Diapatchable <NSObject>

-(BOOL) dispatchPath:(UIBezierPath *)path withColor:(UIColor*)color;
//-(BOOL) dispatchImage:(CGImageRef)pixel theSrc:(IntRect)srcRect toRect:(IntRect)destRect;

@optional
-(CGPoint)dispatchPathOffset;
-(CGPoint)syncDrawLineOffset;
//-(BOOL) dispatchPDF:(CGPDFPageRef)pdfpage theSrc:(IntRect)srcRect toRect:(IntRect)destRect;

@end
